
function init_users_petitions()
{
  loadPagePetitions('get_users_petitions.php'); 
}

var conexion_two;
function loadPagePetitions(url) 
{

  if(url=='')
  {
        return;
  }
  conexion_two=postRequest();
  conexion_two.onreadystatechange = printUsersPetitions;
  conexion_two.open("GET", url, true);
  conexion_two.send(null);
}

function printUsersPetitions()
{
  var entry = document.getElementById("usersPet");
  if(conexion_two.readyState == 4)
  {
	  entry.innerHTML = conexion_two.responseText;
  } 
}

